//test application

import java.util.*;
import java.io.*;

public class TestList
{
	public static void main(String[]args)
	{
		TestArrayList ar = new TestArrayList();
		
		ar.caught();
		
		System.out.println(ar);
		System.out.println();
		System.out.println(ar.toString());
		//returns TestArrayList@...
		
		System.out.println();
		
		/*ArrayList<String> arrayList = new ArrayList<String>();
		
		arrayList.add("Hello");
		arrayList.add("Minions");
		String line = "Scanner line";
		arrayList.add(line);
		System.out.println(arrayList);
		//[Hello, Minions, Scanner line]
		//need to break array into parts and hope it doesn't print bracets
		System.out.println();
		System.out.println(arrayList.size());
		//3 - interesting that its not counted from 0?
		*/
		
	}
}